Pro-Cloud API Web Service
Method/ProCloudWS.asmx/MoveRulesGet
Pro-Cloud API Web Service > All Operations Resource Group : /ProCloudWS.asmx/MoveRulesGet (Method)
Description
This web method returns a list of move rules setup in the system.
Request (MoveRulesGetSoapIn)

The request body is of type MoveRulesGet.

Request Body Parameters

NameDescriptionData Type

This is a unique provider id, which can be obtained from CSS

GUId

guid

This is your unique service password which can be obtained from CSS

String (min 1 max 50)

xml:string

This is the providers branch making the web service call (can be obtained via the ProviderBranchesGet web method)

Integer

xml:int

The status id to return the move rules for. Passing -1 returns rules for all statuses

Integer

xml:int

The SKU (STOCKKEEPING UNIT) of the item you wish to find move rules for. Passing an empty string returns rules for all SKU items

String (min 1 max 50)

xml:string

This is the current page beeing viewed

Integer

xml:int

This is the number of items per page you would like returned. If you would like all data returned on one page then pass -1

Integer

xml:int
intItemsPerPage Element intPage Element strProductCode Element intStatusId Element intProviderBranchId Element strPassword Element objProviderGUId Element Sequence MoveRulesGet Element

Overview

Sequence
strPassword optional xs:string
strProductCode optional xs:string
intPage xs:int
Response (MoveRulesGetSoapOut)

The response body is of type MoveRulesGetResponse.

Response Body Parameters

NameDescriptionData Type
 objMoveRulesGetReturn
xmlDataSet Element strErrorMsg Element intErrorId Element Sequence MoveRulesGetResult Element Sequence MoveRulesGetResponse Element

Overview

Sequence
Sequence
intErrorId xs:int
strErrorMsg optional xs:string
xmlDataSet optional
Sequence
Any
Example
<?xml version="1.0" encoding="UTF-8"?>
<objMoveRulesGetReturn xmlns="http://pro-cloud.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<intErrorId>0</intErrorId>
	<strErrorMsg/>
	<xmlDataSet>
		<NewDataSet xmlns="">
			<Paging>
				<SearchText/>
				<SortColumn>RuleName</SortColumn>
				<SortOrder/>
				<ItemsPerPage>2</ItemsPerPage>
				<Page>1</Page>
				<Pages>1</Pages>
				<Items>2</Items>
			</Paging>
			<MoveRules>
				<RuleId>2</RuleId>
				<RuleName>Customer Site Move</RuleName>
				<RuleDesc>Stop an item being scanned onto Customer Site if current status is On Customer Site</RuleDesc>
				<ForProviderId>35</ForProviderId>
				<FromInProviderBranchId>true</FromInProviderBranchId>
				<FromProviderBranchId>46</FromProviderBranchId>
				<FromInStatusId>true</FromInStatusId>
				<FromStatusId>455</FromStatusId>
				<FromStatusName>With Customer</FromStatusName>
				<FromStatusIncSubStatuses>false</FromStatusIncSubStatuses>
				<ToInProviderBranchId>true</ToInProviderBranchId>
				<ToProviderBranchId>46</ToProviderBranchId>
				<ToInStatusId>true</ToInStatusId>
				<ToStatusId>455</ToStatusId>
				<ToStatusName>With Customer</ToStatusName>
				<ToStatusIncSubStatuses>false</ToStatusIncSubStatuses>
				<IsProductTemplateId>false</IsProductTemplateId>
				<ProductTemplateId>36370</ProductTemplateId>
				<ProductTemplateProductCode>RBSOR</ProductTemplateProductCode>
				<Enabled>true</Enabled>
				<ReadOnly>false</ReadOnly>
				<FriendlyText>This rule will block the movement thats not a RBSOR from Healthcare House from With Customer to Healthcare House to With Customer </FriendlyText>
			</MoveRules>
			<MoveRules>
				<RuleId>3</RuleId>
				<RuleName>Move to Customer Site</RuleName>
				<RuleDesc>Prevent moving to a second Customer Address is Location is with Customer</RuleDesc>
				<ForProviderId>35</ForProviderId>
				<FromInProviderBranchId>true</FromInProviderBranchId>
				<FromProviderBranchId>46</FromProviderBranchId>
				<FromInStatusId>true</FromInStatusId>
				<FromStatusId>455</FromStatusId>
				<FromStatusName>With Customer</FromStatusName>
				<FromStatusIncSubStatuses>false</FromStatusIncSubStatuses>
				<ToInProviderBranchId>true</ToInProviderBranchId>
				<ToProviderBranchId>46</ToProviderBranchId>
				<ToInStatusId>true</ToInStatusId>
				<ToStatusId>455</ToStatusId>
				<ToStatusName>With Customer</ToStatusName>
				<ToStatusIncSubStatuses>false</ToStatusIncSubStatuses>
				<IsProductTemplateId>true</IsProductTemplateId>
				<ProductTemplateId>36370</ProductTemplateId>
				<ProductTemplateProductCode>RBSOR</ProductTemplateProductCode>
				<Enabled>true</Enabled>
				<ReadOnly>false</ReadOnly>
				<FriendlyText>This rule will block the movement of RBSOR from Healthcare House from With Customer to Healthcare House to With Customer </FriendlyText>
			</MoveRules>
		</NewDataSet>
	</xmlDataSet>
</objMoveRulesGetReturn>
See Also
All Operations Resource GroupPro-Cloud API Web Service